


public class Cards{
	
	private int cardNumber, amount, hotelAmount, destination;
	private String cardImage, cardType;
	private Player p;
	
	
	/* CONSTRUCTORS */
	
	public Cards(String type, int cardNum, String cardImg){ //for going to somewhere else
		this.cardType = type;
		this.cardImage = cardImg;
		this.cardNumber = cardNum;
	}
	
	public Cards(String type, int cardNum, String cardImg, int amt){ //for paying or earning
		this.cardType = type;
		this.cardImage = cardImg;
		this.amount = amt;
		this.cardNumber = cardNum;
	}
		
	public Cards(String type, int cardNum, String cardImg, Player play){ //for going to jail or getting out of jail
		this.cardType = type;
		this.cardImage = cardImg;
		this.p=play;
		this.cardNumber = cardNum;
	}
	
	public Cards(String type, int cardNum, String cardImg, int amt, int hotelAmt){ //for paying for houses and hotels
		this.cardType = type;
		this.cardImage = cardImg;
		this.amount = amt;
		this.hotelAmount = hotelAmt;
		this.cardNumber = cardNum;
	}
	

	
	/* GETTERS */
	public int getCardNumber(){
		return cardNumber;
	}
	
	public int getAmount(){
		return amount;
	}
	
	public int getHotelAmount(){
		return hotelAmount;
	}
	
	public int getDestination(){
		return destination;
	}
	
	public String getCardType(){
		return cardType;
	}
	
	public String getCardImage(){
		return cardImage;
	}
	
	public Player getPlayer(){
		return p;
	}
	
	
	/* SETTERS */
	public void setCardNumber(int cardNumber){
		this.cardNumber = cardNumber;
	}
	
	public void setAmount(int amount){
		this.amount = amount;
	}
	
	public void setHotelAmount(int hotelAmount){
		this.hotelAmount = hotelAmount;
	}
	
	public void setDestination(int destination){
		this.destination = destination;
	}
	public void setCardImage(String cardImage){
		this.cardImage = cardImage;
	}

	public void setPlayer(Player player) {
		this.p = player;
	}
}